package nc.ui.arap.actions.verify;

import nc.vo.pub.lang.UFBoolean;

/**
 * nc.ui.arap.actions.verify.VerifyRecordSelectAction
 *
 * @author twei
 *
 */
public class VerifyRecordSelectAction extends VerifyBaseAction {

	public void allSelect(){

    	if(getCache()==null)
    		return;
    	for(int i=0;i<getCache().length;i++)
    	{
    		getCache()[i].setM_selected(new UFBoolean(true));
    		getPanel().getTemplet().setBodyValueAt(new UFBoolean(true),i,"m_selected");
    	}
	}
	
	public void allCancel(){

		if(getCache()==null)
    		return;
    	for(int i=0;i<getCache().length;i++)
    	{
    		getCache()[i].setM_selected(new UFBoolean(false));
    		getPanel().getTemplet().setBodyValueAt(new UFBoolean(false),i,"m_selected");
    	}
    	
	}

}
